<template>
    <div>
        <my-icon :id="iconId" :color="iconColor" :size="iconSize" class="network" />
        <div class="text">
            <slot></slot>
        </div>
    </div>
</template>
<script>
export default {
    name: 'slide-bar',
    props: {
        iconId: {
            type: String,
            default: ''
        },
        iconColor: {
            type: String,
            default: ''
        },
        iconSize: {
            type: [Number,String],
            default: 40
        }
    }
}
</script>
<style scoped>
.network {
    width: 4vw;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.text {
    width: 4vw;
    height: 80vh;
    font-size: 30px;
    color: rgb(255, 191, 121);
    background-color: rgba(52, 57, 92, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
}
</style>